package com.litingfeng.bean;

import java.math.BigDecimal;
import java.util.Date;

public class Employee {
    private int eId;

    private String eName;

    private int pId;

    private Date date;

    private double salary;

    private int mrg_pid;

    private int dId;
    private Employee mrg_Emp;

    public Employee getMrg_Emp() {
        return mrg_Emp;
    }

    public void setMrg_Emp(Employee mrg_Emp) {
        this.mrg_Emp = mrg_Emp;
    }

    public int geteId() {
        return eId;
    }

    public void seteId(int eId) {
        this.eId = eId;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public int getMrg_pid() {
        return mrg_pid;
    }

    public void setMrg_pid(int mrg_pid) {
        this.mrg_pid = mrg_pid;
    }

    public int getdId() {
        return dId;
    }

    public void setdId(int dId) {
        this.dId = dId;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eId=" + eId +
                ", eName='" + eName + '\'' +
                ", pId=" + pId +
                ", date=" + date +
                ", salary=" + salary +
                ", mrg_pid=" + mrg_pid +
                ", dId=" + dId +
                '}';
    }
}